<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('default/welcome')}">开始</a> / <a href="{url('website/index')}">站点管理</a></div>
<div class="m10">
<div class="table-head fn-clear">
    <div class="fn-l"><a href="{url('website/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>站点管理</strong></div>
    <div class="fn-r"><a href="{url('website/add')}" class="button button-blue"> <i class="iconfont" title="添加站点">&#xf055;</i> 添加站点</a></div>
</div>
<table class="table">
<thead>
    <tr>
        <th class="fn-tac w20">#</th>
        <th class="fn-tal">站点名称</th>
        <th class="fn-tac w120">模板文件</th>
        <th class="fn-tac w120">更新时间</th>
        <th class="fn-tac w120">操作</th>
    </tr>
</thead>
<tbody>
{foreach $list as $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td class="fn-f14"> <i class="iconfont">&#xf015;</i>  {$vo['name']} [ <span class="blue">http://{if $vo['url']}{$vo['url']}{else}*.Youwebsite.com{/if} </span>]</td>
    <td class="fn-tac">{$vo['tpl_index']}</td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
    <td class="fn-tac tip"><a href="{url('website/edit',array(id=>$vo['id']))}"">编辑</a>/<a href="###" class="del" title="删除" url="{url('website/index',array(id=>$vo['id'],act=>del))}">删除</a></td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<script language="javascript">
Do('base','dialog',function(){
    $('.del').click(function(){$(this).del();});
})
</script>